package com.mldong.modules.cms.mapper;

import com.mldong.modules.cms.entity.Site;
import com.mldong.modules.cms.vo.SiteVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
 * <p>
 * 站点 Mapper 接口
 * </p>
 *
 * @author mldong
 * @since 2022-10-23
 */
@Mapper
public interface SiteMapper extends BaseMapper<Site> {
    List<SiteVO> selectCustom(IPage<SiteVO> page, @Param(Constants.WRAPPER) Wrapper<Site> wrapper);
    SiteVO findById(@Param("id") Long id);
}
